PhpOffice\PhpSpreadsheet\Spreadsheet D

Total Complexity 166
Dependencies 11
Dependents 41
Total lines 1,481
Lines of code 534
Logical lines of code 271
Comment lines 670
Methods 81
Properties 25

Methods 81

Method Rating Maintainability Complexity Lines of code
garbageCollect()
B
42 17 51
getRibbonBinObjects()
A
52 10 25
addSheet()
S
52 6 27
removeCellXfByIndex()
S
56 6 17
getRibbonXMLData()
S
58 6 16
getNamedRange()
S
61 6 12
addExternalSheet()
S
57 4 15
removeSheetByIndex()
S
60 4 13
removeNamedRange()
S
62 4 12
__clone()
S
67 4 7
setRibbonXMLData()
S
68 3 7
getSheetByName()
S
65 3 9
getIndex()
S
66 3 8
setVisibility()
S
64 3 10
getCellStyleXfByHashCode()
S
67 3 8
getSheetByCodeName()
S
65 3 9
getCellXfByHashCode()
S
67 3 8
setRibbonBinObjects()
S
68 3 7
setTabRatio()
S
68 3 7
copy()
S
65 2 9
setFirstSheetIndex()
S
69 2 7
removeCellStyleXfByIndex()
S
70 2 6
addNamedRange()
S
66 2 8
getSheetNames()
S
66 2 8
setActiveSheetIndex()
S
64 2 10
setIndexByName()
S
61 1 15
getDefaultStyle()
S
71 2 6
getSheet()
S
65 2 9
setActiveSheetIndexByName()
S
68 2 7
disconnectWorksheets()
S
66 2 9
__construct()
S
59 1 14
sheetNameExists()
S
79 1 3
setShowVerticalScroll()
S
80 1 3
getCellStyleXfByIndex()
S
80 1 3
getMacrosCertificate()
S
82 1 3
addCellStyleXf()
S
75 1 4
hasMacrosCertificate()
S
80 1 3
setMacrosCertificate()
S
81 1 3
getID()
S
82 1 3
getShowHorizontalScroll()
S
82 1 3
setShowHorizontalScroll()
S
80 1 3
getShowVerticalScroll()
S
82 1 3
getShowSheetTabs()
S
82 1 3
getCellXfSupervisor()
S
82 1 3
setShowSheetTabs()
S
80 1 3
getMinimized()
S
82 1 3
setMinimized()
S
80 1 3
getAutoFilterDateGrouping()
S
82 1 3
setAutoFilterDateGrouping()
S
80 1 3
getFirstSheetIndex()
S
82 1 3
getMacrosCode()
S
82 1 3
getVisibility()
S
82 1 3
setMacrosCode()
S
76 1 4
getTabRatio()
S
82 1 3
getCellStyleXfCollection()
S
82 1 3
addCellXf()
S
75 1 4
discardMacros()
S
74 1 5
__destruct()
S
77 1 4
getActiveSheet()
S
80 1 3
setSecurity()
S
81 1 3
getAllSheets()
S
82 1 3
getSecurity()
S
82 1 3
setProperties()
S
81 1 3
getProperties()
S
82 1 3
getSheetCount()
S
80 1 3
getActiveSheetIndex()
S
82 1 3
getCalculationEngine()
S
82 1 3
setHasMacros()
S
80 1 3
getNamedRanges()
S
82 1 3
createSheet()
S
73 1 5
sheetCodeNameExists()
S
79 1 3
hasRibbonBinObjects()
S
80 1 3
getWorksheetIterator()
S
80 1 3
hasRibbon()
S
80 1 3
getExtensionOnly()
S
79 1 3
getCellXfCollection()
S
82 1 3
getCellXfByIndex()
S
80 1 3
setUnparsedLoadedData()
S
81 1 3
cellXfExists()
S
79 1 3
getUnparsedLoadedData()
S
82 1 3
hasMacros()
S
82 1 3